//
//  LFLeftMarketViewCell.m
//  LoveFruit
//
//  Created by Apple on 16/9/25.
//  Copyright © 2016年 张令林. All rights reserved.
//

#import "LFLeftMarketViewCell.h"
#import "LFMarketLeftView.h"
@implementation LFLeftMarketViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString*)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        //cell的背景颜色
        self.contentView.backgroundColor = [UIColor colorWithHex:0xf8f8f8];
        
        // 创建选中的view
        LFMarketLeftView* bgView = [[LFMarketLeftView alloc] init];
        
        // 设置frame
        //        bgView.frame = self.contentView.bounds;
        // 设置选中的view
        self.selectedBackgroundView = bgView;
        
        [self textLabel];
    }
    
    return self;
}



@end
